# The Graphic Libraries

There are two graphic libraries that are available, Symbol Factory and Graphics Library. The Graphics Library comes with a number of ready-made graphic displays containing objects that you can use in other displays. The sample graphic displays in the libraries show you how to:

- use drawing objects and interactive objects in your graphic displays
- set up the different objects to interact with each other
- use visual design elements, such as the color and arrangement of objects in the display, to make your displays easy to use

## To use objects from the Graphic Libraries

1. Open the library display containing the objects you want to use.
2. Open the graphic display you want to put the objects in.
3. Drag and drop the objects from the library display to the graphic display.

   Any animation that has been attached to an object will be carried along with it.

## To use objects from Symbol Factory

1. Open the graphic display you intend to put the objects in.
2. Click on Symbol Factory from the Explorer, the Objects menu, or the icon in the Objects toolbar.
3. Select the category for the graphic you are looking for and browse the thumbnail images.
4. Select the image object you want to use.
5. Drag and drop the object from Symbol Factory to the graphic display.

   Note that Symbol Factory offers other features to modify the image before bringing it into the display. The topic "Use Symbol Factory" has more information.

## To create a new display for the Graphic Libraries

1. To open the editor, right-click Libraries and select New, or drag-and-drop the library icon into the display pane.
2. Create the display just as you would any graphic display.
3. Save the graphic display. It is automatically saved in the Libraries directory.

## To copy an existing graphic display to the Graphic Libraries

1. Highlight Libraries, then right-click to display the context menu.
2. Choose Add Component Into Application from the Context menu.
3. Select the graphic display you want to add, then click OK.

## To set up support for multiple languages in a graphic library

By default, libraries shipped with FactoryTalk View are not set up to support multiple languages. Text strings in these libraries always display as shipped, regardless of the current application language, and will never show as undefined. If you change these displays to support multiple languages (using the steps below), only those text strings in the library that are in the current application language will show correctly. Strings in any other language will display as undefined, that is, as question marks.

On the other hand, new library displays that you create in an application do support multiple languages by default. If the objects in your application displays already have multiple language strings, copying them to the library display will not automatically delete any strings that are not in the current application language. If you turn off multiple language support for a new library display, only text strings using the current application language will be saved. All others will be deleted when you save the change.

1. In the Explorer window, double-click the library to open the display.
2. Right-click the graphic library display and then click Display Settings.
3. In the Properties tab, select the Support Multiple Languages check box. To remove support for multiple languages, clear the check box.

When you save the graphic library display, all strings that support language switching are saved in the application's current language.

Tip: | If you copy an object from a graphic library that supports multiple languages into a graphic display, only strings using a language that is supported by the application are copied. Any strings using a language that has not been added to the application are not copied. If you copy an entire graphic library that supports multiple languages into the Displays folder, all text strings are copied with the library.

## See also

Create graphic displays

Edit graphic displays

Use Symbol Factory

Locate the graphic libraries

The Graphic Libraries

Context menu

Keywords: graphic library